package myStack;

public interface IStackOperation {
    //入栈
    void push(int val);
    //出栈
    int pop();
    //仅输出
    int peek();
    //判断是否为空
    boolean empty();
    //检查内存
    boolean checkCapacity();
}
